package cn.yunhe.server;

import java.util.List;

import cn.yunhe.dao.IBlankDao;
import cn.yunhe.dao.Impl.BlankDaoImpl;
import cn.yunhe.entity.Blank;

public class BlankServer{
	IBlankDao blankDao = new BlankDaoImpl();
	
	public List<Blank> getAllBlank(){
		return blankDao.getAllBlank();
	}
	
	
	public boolean addBlank(Blank blank){
		return blankDao.addBlank(blank);
	}
	
	public boolean deletBlank(Blank blank){
		return blankDao.deletBlank(blank);
	}

	public Blank getBlankById(int bId){
		return  blankDao.getBlankById(bId);
	}
	
}
